using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu(fileName = "Effect08-目标棋子被禁止移动", menuName = "Skill/Effect/Effect08-目标棋子被禁止移动", order = 8)]
public class Effect08 : EffectBase
{
    public override void Apply(Pair pair, GameEvent e, List<Chess> targets)
    {
        if(targets == null) return;
        foreach (var target in targets)
        {
            target.SetChessCanMove(false);
        }
    }
}